package cn.wjc.demo.partone;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackages = "cn.wjc.demo.partone.client")
@EnableDiscoveryClient  //开启服务注册发现
@SpringBootApplication
public class DemoPartoneServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoPartoneServerApplication.class, args);
    }

}
